home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6302 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  808 b 

  1. Path: indyvax.iupui.edu!nntp
  2. Newsgroups: comp.lang.c++
  3. Subject: VC++ COMM Port
  4. Message-ID: <3119334A.3B9@medwish.dmed.iupui.edu>
  5. From: Todd Kirk <toddk@medwish.dmed.iupui.edu>
  6. Date: Wed, 07 Feb 1996 18:18:34 -0500
  7. Nntp-Posting-Host: 134.68.218.10
  8. X-Mailer: Mozilla 2.0b6a (Win95; I)
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12.  
  13. Hey ....
  14.    I have just started with VC++ and have a pretty
  15. good user interface going. Now when the user clicks 
  16. a button, I want something to be sent to a comm port.
  17.  
  18. void button::OnBopen() //clicks the "open button"
  19. {
  20. //some code
  21. idComDev = OpenComm("COM1", 1024, 128);
  22. //more code ???
  23. }
  24.  
  25. I know that I can't call it like this. I have looked over
  26. most of the comm functions, but don't know how to call
  27. them.     Thankx   ~TODD~
  28.